QT += core gui widgets  opengl

# 使用OpenGL ES配置
CONFIG += opengl debug

CONFIG += c++11

CONFIG += link_pkgconfig
PKGCONFIG += gstreamer-1.0 gstreamer-app-1.0 gstreamer-video-1.0 

LIBS += -ljpeg -lv4l2
LIBS += -lGLESv2 -lEGL

SOURCES += \
    main.cpp \
    mainwindow.cpp \
    gstreamer_pipeline.cpp \


HEADERS += \
    mainwindow.h \
    gstreamer_pipeline.h\



# OpenGL ES配置
QMAKE_CXXFLAGS += -O3